package continuum.db.schema.embeddables;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Embeddable;

@Embeddable
public class Address implements Serializable {

	/**
	 * Serial version UID.
	 */
	private static final long serialVersionUID = 1L;

	@Column(name = "address_street", nullable = false)
	private String streetAddress;

	@Column(name = "address_apt_pobox", nullable = true)
	private String apartmentPoBox;

	@Column(name = "address_city")
	private String city;

	@Column(name = "address_state")
	private String state;

	@Column(name = "address_zipcode")
	private int zipCode;

	public String getStreetAddress() {
		return streetAddress;
	}

	public void setStreetAddress(String streetAddress) {
		this.streetAddress = streetAddress;
	}

	public String getApartmentPoBox() {
		return apartmentPoBox;
	}

	public void setApartmentPoBox(String apartmentPoBox) {
		this.apartmentPoBox = apartmentPoBox;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public int getZipCode() {
		return zipCode;
	}

	public void setZipCode(int zipCode) {
		this.zipCode = zipCode;
	}

}
